package com.eastcode.mobile.server.system.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;

/**
 * 用户岗位
 * 
 * @author 王一进
 * 
 */
@Cached
public class UserStation implements Serializable {

	private static final long serialVersionUID = 5091238396608220994L;

	/** 主键 **/
	@Id
	private Long id;

	/** 岗位 **/
	private Station station;

	/** 用户 **/
	private User user;

	/** 创建时间 **/
	private Date createTime;

	/** 更新时间 **/
	private Date updateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Station getStation() {
		return station;
	}

	public void setStation(Station station) {
		this.station = station;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}